/* Copyright 2009, Red Hat, Inc.
 *
 * Portions adapted from Mx's data/style/default.css
 *   Copyright 2009 Intel Corporation
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU Lesser General Public License,
 * version 2.1, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for
 * more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
 */

/* GNOME Shell theme 'Nord' (and some important/silly comments) by Reda Lazri(rAX): http://0rAX0.deviantart.com  */
/* Based on GNOME Shell Zukitwo theme by lassekongo83 */

/*Bla bla..., Let's start making something useful*/



/* Changelog:

Tue June, 21 2011: Initial 1.0b release.
Wed June, 22 2011:

- Made the selected menu-item consistent with the overall design.
- Turned off the border-radius of the top corners in popup-menus.
- Added consistent pixmaps to the month's arrows.
- Fixed the app-filter(categories) text color.
- Added new pixmaps to the switchs.
- Updated the preview!

June, 24 2011:

- Increased the popup menus' visibility.
- Fixed padding problems in the message area.
- better visibility in the message area, notifications...
- new style to the icons in the message area.
- better visibility in ALT+F2 and ws-switcher.
- fixed the 'applications' section.

June, 25 2011:

- Fixed 'modal dialog' and 'policykit' dialogs.
- Fixed 'end session' and 'power off' dialogs.
- Fixed every dialog button (including hover and pressed states).
- Fixed a typo that caused an error in lg.
- Rearanged the code a little bit.
 
June, 29 2011:

- Reduced 'run' dialog's width.(forget to add it yesterday)
- Fixed the message area again: 
	- Size reduction.
	- Better consistancy with the panel.
	- Fixed summary icons and background.
	- Better menus.
- Improved look for the ws-switcher(No more flashing backgrounds!).
- Little improvements in the app section(mainly hover state).
- Better-ish visibilty in overview with complex backgrounds.

June, 30 2011:

- Small tweaks in the 'chat' section.
- Blindly trying to fix the sub-menus(I have no way of testing this!).
- Better menu-items(selected).
- Better Arrows in ws-switcher.
- A new 'corner-ripple' effect!
- Restored the default lg style(let's just leave it alone, shall we :-))
- Code cleanup.
- Preparing for the final release.

July, 1 2011: AKA FINAL!

- A new 'Placeholder'!
- New and improved switches!
- Restored the rounded corners on the popup-menus (due to a GS limitation).
*/

/*Set the default font*/
stage {
	font-family: "WenQuanYi Micro Hei", serif, "文泉驿微米黑", "droid sans", cantarell, sans-serif;
	
/*Obviously, I'm using 'droid sans' as a default font, if you don't like it, simply replace it with your font of choice or use 'Cantarell', which is Gnome 3.0's default font*/
}

.shell-link {
	color: #000;
	text-decoration: underline;
}

.shell-link:hover {
	color: #565656;
}


.label-shadow {
	color: rgba(0,0,0,0);
}

.label-real-shadow {
	background-gradient-direction: horizontal;
	background-gradient-start: rgba(0, 0, 0, 0);
	background-gradient-end: rgba(0, 0, 0, 1);
	width: 100px;
}

StScrollBar
{
	padding: 5px 10px 5px 10px;
}


StScrollView StScrollBar
{
	min-width: 8px;
	min-height: 8px;
}


StScrollBar StBin#trough {
	
}

StScrollBar StButton#vhandle
{
	background-color: rgba(255,255,255,0.1);

}

StScrollBar StButton#hhandle
{
	background-color: rgba(255,255,255,0.1);

}

StScrollBar StButton#hhandle:hover,
StScrollBar StButton#vhandle:hover
{
}

StTooltip StLabel { /*Controls the tooltips. Oh really, Einstein!*/
	border-radius: 4px;
	background-gradient-direction: vertical;
	background-gradient-start: rgba(255,255,255,0.9);
	background-gradient-end: rgba(255,255,255,0.8);
	border: 1px solid rgba(0,0,0,0.3);     	
    box-shadow:  inset 0px -1px 0px 0px rgba(255,255,255,0.9);
	color: rgba(0,0,0,0.8);
	padding: 4px;
	font-size: 8.5pt;
	font-weight: bold;
	text-align: center;
}
 
/* PopupMenu */

.popup-menu-boxpointer {
	background-gradient-direction: vertical;
	background-gradient-start: rgba(0,0,0,0.9);
	background-gradient-end: rgba(0,0,0,0.8);
	border: 1px solid rgba(125,125,125,0.2);
	box-shadow:  inset 0px 0px 0px 0px rgba(255,255,255,0.2);
    padding: 2px 0px 0px 2px;
}

.popup-menu {
	min-width: 85px;
    border-radius: 4px;
}

.popup-sub-menu {
   	color: rgba(255,255,255,1);
    background-color: rgba(0,0,0,0.2);
}

/* The remaining popup-menu sizing is all done in ems, so that if you
 * override .popup-menu.font-size, everything else will scale with it.
 */
.popup-menu-content {
	padding: 0.3em 0.3em;
	padding-left: 0.2em;
	padding-right: 0.2em;
}

.popup-menu-item {
	color: rgba(255,255,255,0.7);
	font-size: 9pt;
	font-weight: bold;
	padding: 0.5em 1.5em;
	text-shadow: rgba(255,255,255,0.35) 0px 1px 0px;
}

.popup-menu-item:active {
   	color: rgba(255,255,255,1);
    background-color: rgba(125,125,125,0.2);
}

.popup-image-menu-item {
}

.popup-alternating-menu-item:alternate {
	color: rgba(255,255,255,0.98);
	background-color: red;
	border-radius: 4px;     
}

.popup-separator-menu-item {
	-gradient-height: 1px;
	-gradient-start: rgba(255,255,255,0.0);
	-gradient-end: rgba(255,255,255,0.3);
	-margin-horizontal: 0.5em;
	height: 0.1em;        
}

.popup-slider-menu-item {
	height: 1em;
	min-width: 13em;
	-slider-height: 4px;
	-slider-background-color: rgba(50,55,55,0.1);
	-slider-border-color: rgba(0,0,0,0.4);
	-slider-active-background-color: rgba(255,255,255,0.9);
	-slider-active-border-color: rgba(0,0,0,0.4);
	-slider-border-width: 1px;
	-slider-handle-radius: 0.5em;}

.popup-device-menu-item {
	spacing: .5em;
}

.popup-menu-icon {
	icon-size: 1.20em;
}

/* Switches (to be used in menus) */
.toggle-switch {
	width: 65px;
	height: 22px;
}

.toggle-switch-us {
	background-image: url("toggle-off-us.svg");
}
.toggle-switch-us:checked {
	background-image: url("toggle-on-us.svg");
}

.toggle-switch-intl {
	background-image: url("toggle-off-intl.svg");
}
.toggle-switch-intl:checked {
	background-image: url("toggle-on-intl.svg");
}

/* Panel */

#panel {
	border: 1px solid rgba(0,0,0,0.2);
	background-gradient-direction: vertical;
	background-gradient-start: rgba(227,227,227,0.6);
	background-gradient-end: rgba(227,227,227,0.09);
	color: rgba(255,255,255,0.98);
	border-top: 0px;
	border-left: 0px;
	border-right: 0px;
	height: 32px;
	box-shadow:  inset 0px -1px 0px 0px rgba(255,255,255,0.2);
	font-size: 8.7pt;
}

#panelLeft, #panelCenter, #panelRight {
	font-weight: bold;
}

#panelLeft {
	padding-right: 0px;
}

#panelRight {
	padding-left: 0px;
}


#appMenu {
	spacing: 4px;
	color: rgba(255,255,255,0.98);
	padding: 1px 6px 1px 6px;
	border: 1px  rgba(0,0,0,0.15);
	background-color: rgba(255,255,255,0.3);
	box-shadow:  inset 0px -1px 0px 0px rgba(255,255,255,0.15);
        
        
}

.panel-button > StIcon {
	icon-size: 16px; /* Tray icon size */
	padding: 1px 3px 1px 3px;
}

.panel-button #appMenuIcon {
        width: 0px;
        height: 0px;
}

.panel-button:active #appMenuIcon,
.panel-button:checked #appMenuIcon,
.panel-button:focus #appMenuIcon {
}

.app-menu-icon {
/*	width: 16px;
	height: 16px;*/
}

.panel-button {
	-natural-hpadding: 2px;
	-minimum-hpadding: 2px;
    transition-duration: 100;
}

.panel-button:hover {
	background-gradient-direction: vertical;
	background-gradient-start: rgba(255,255,255,0);
	background-gradient-end: rgba(255,255,255,0.4);
    box-shadow: inset 0px -1px 1px 0px rgba(255,255,255,0.5);
    transition-duration: 250;
}

.panel-button:active,
.panel-button:checked,
.panel-button:focus {
	background-gradient-direction: vertical;
	background-gradient-start: rgba(0,0,0,0.2);
	background-gradient-end: rgba(255,255,255,0.1);
    box-shadow: inset 0px 1px 3px 0px rgba(0,0,0,0.2);
    color: rgba(255,255,255,1);
    text-shadow: rgba(0,0,0,0.2) 0px -1px 0px;
}

#statusTray > .panel-button:active,
#statusTray > .panel-button:checked,
#statusTray > .panel-button:focus {

}

.panel-button:active > .system-status-icon,
.panel-button:checked > .system-status-icon,
.panel-button:focus > .system-status-icon {

}

#panelActivities {
	padding: 1px 0px 0px 0px;
	border-radius-topleft: 0px;
	border-radius-bottomleft: 0px;
    background-image: url("logo.png");
    width: 65px;
    height: 32px;
    color: rgba(0,0,0,0.0);
}

.panelActivitiesHover {
}

#panelActivities:hover {
    background-image:  url("logo.png");
}
#panelActivities:active,
#panelActivities:overview {
    background-image:  url("logoActive.png");
}


#panelStatus {
	border-radius-topright: 0px;
}

#panelStatusMenu {
	spacing: 4px;
}

#legacyTray {
	spacing: 14px;
	padding-left: 14px;
}

#legacyTray:compact {
	spacing: 8px;
}

.system-status-icon {
	icon-size: 1.14em;
}

/* Overview */

#overview {
	spacing: 20px;
	background-color: rgba(255,255,255,0);
}

.workspaces-view {
	color: white;
	spacing: 50px;
}

.workspace-controls {
	visible-width: 15px; /* Amount visible before hovering, reduce this to 15px to hide it again. */
}

.workspace-thumbnails-background {
	padding: 20px;;
	background-gradient-direction: horizontal;
	background-gradient-start: rgba(255,255,255,0.1);
    background-gradient-end: rgba(255,255,255,0.2);
	border: 1px solid rgba(0,0,0,0.2);
    box-shadow: inset 1px 0px 0px 0px rgba(255,255,255,0.2);
	border-radius: 0px 4px 4px 0px;
    border-right:none
}

.workspace-thumbnails-background:rtl {
	border-right: 1px;
	border-left: 0px;
	border-radius: 0px 4px 4px 0px;
}

.workspace-thumbnails {
        border-radius: 4px;
        spacing: 3px;
}

.workspace-thumbnail-indicator {
	outline: 1px solid rgba(255,255,255,0.89);
        box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.7);
        border-radius: 4px;
}

.window-caption {
	-shell-caption-spacing: 10px;
	background-gradient-direction: vertical;
	background-gradient-end: rgba(255,255,255,0.04);
	background-gradient-start: rgba(255,255,255,0.5);
	border-radius: 4px;
	border: 1px solid rgba(0,0,0,0.1);
	box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.2);
	color: rgba(255,255,255,0.8);
	font-size: 8.5pt;
	font-weight: bold;
	padding: 4px 15px;
	text-align: center;
	text-shadow: rgba(255,255,255,0.4) 0px 1px 0px;
}

.window-close {
	background-image: url("close-window.svg");
	height: 24px;
	width: 24px;
	-st-background-image-shadow: -2px 2px 6px rgba(0,0,0,0.5);
	-shell-close-overlap: 12px;
}

/* Dash */

#dash {
	spacing: 5px;
	color: #000;
	padding: 3px 3px;
	background-gradient-direction: horizontal;
	background-gradient-start: rgba(255,255,255,0.2);
	background-gradient-end: rgba(255,255,255,0.1);
	border: 1px solid rgba(0,0,0,0.2);
	box-shadow: inset -1px 0px 0px 0px rgba(255,255,255,0.2);
	border-left: 0px;
	border-radius: 0px 4px 4px 0px;
}

#dash:rtl {
	border-left: 1px;
	border-right: 0px;
	border-radius: 4px 0px 0px 4px;
}

#dash:empty {
	height: 100px;
	width: 50px;
}

.dash-placeholder {
	background-image: url("dash-placeholder.svg");
	height: 27px;
	width: 48px;
}

#viewSelector {
	spacing: 16px;
}

#viewSelectorTabBar {
	padding: 16px;
}

#searchArea {
	padding: 0px 24px;
}

#searchEntry {
	background-gradient-direction: vertical;
	background-gradient-end: rgba(255,255,255,0.2);
	background-gradient-start: rgba(255,255,255,0.04);
	border-radius: 4px;
	border: 1px solid rgba(0,0,0,0.1);
	box-shadow: outset 0px 1px 0px 0px rgba(255,255,255,0.3);
	caret-color: rgba(255,255,255,0.8);
	caret-size: 1px;
	color: rgba(255,255,255,0.8);
	font-weight: bold;
	font: 8pt;
	height: 19px;
	padding: 3px 3px;
	width: 200px;
}

#searchEntry:hover {
        border: 1px solid rgba(0,0,0,0.3);
}

#searchEntry:focus {
	color: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: outset 0px 1px 6px 0px rgba(255,255,255,0.8);
}


.search-entry-icon {
	icon-size: 1.2em;
}

.view-tab-title {
	color: rgba(255,255,255,0.5);
	font: 8pt;
	height: 23px;
    border-radius: 4px;
    font-weight: bold; 
    padding-left: 10px;
    padding-right: 10px;
    width: 80px;

}
.view-tab-title:hover {
	color: rgba(255,255,255,0.8);

        
}

.view-tab-title:selected {
        background-gradient-direction: vertical;
        background-gradient-end: rgba(255,255,255,0.04);
        background-gradient-start: rgba(255,255,255,0.5);
        border-radius: 4px;
        border: 1px solid rgba(0,0,0,0.1);
        box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.3);
        color: #fff;
        text-shadow: rgba(0,0,0,0.3) 0px -1px 0px;
        transition-duration: 200;
}


#searchResults {
/*This controls the background behind the search results*/
}

#searchResultsContent {
	padding: 0 10px;
	spacing: 50px;
}

.search-statustext, .search-section-header {
	background-color: rgba(0,0,0,0);
	color: rgba(255,255,255,1.0);
	font-weight: bold;
	font: 10pt;
	padding: 10px 12px;
	spacing:10px;
	text-shadow: rgba(0,0,0,0.23) 0px -1px 0px;
}

.search-section {
	color: rgba(255,255,255,0.98);
}

.search-section-results {
/*This controls the background behind every result category*/
}

.search-section-list-results {
	spacing: 1px;
}

.results-container {
	spacing: 1px;
}

.search-providers-box { /* This controls the background behind the seach-providers' buttons*/
    spacing: 25px;
}

.dash-search-button {
    background-gradient-direction: vertical;
    background-gradient-end: rgba(255,255,255,0.04);
    background-gradient-start: rgba(255,255,255,0.5);
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.3);
    color: #fff;
    font-weight: bold;
    text-shadow: rgba(0,0,0,0.3) 0px -1px 0px;
	height: 25px;
	width: 100px;
}


.dash-search-button:hover,
.dash-search-button:selected{
    background-gradient-direction: vertical;
    background-gradient-end: rgba(255,255,255,0.04);
    background-gradient-start: rgba(255,255,255,0.6);
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.3);
    box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.3);
    color: #fff;
    text-shadow: rgba(0,0,0,0.3) 0px -1px 0px;
}


.dash-search-button-label {
	color: #fff;
	font-size: 8.7pt;
}

/* Apps */

.icon-grid {
spacing: 16px; /* 36px */
-shell-grid-horizontal-item-size: 96px; /* 118px */
-shell-grid-vertical-item-size: 96px; /* 118px */
}

.icon-grid .overview-icon {
    icon-size: 80px;
}

.contact-grid {
    spacing: 32px;
    -shell-grid-item-size: 200px; /* 2 * -shell-grid-item-size + spacing */
}

.all-app {
	padding: 2px 16px 5px 16px;
	spacing: 10px;
}

.all-app .icon-grid {
	padding: 15px 20px;
}

.all-app .overview-icon {
	icon-size: 48px;
}

/*This section controls the right categories*/
.app-filter {
	font: 8pt;
	font-weight: bold;
	color: rgba(255,255,255,0.8); 
	height: 25px;
	width: 180px;
	padding: 5px 0px 5px 8px ;
	text-shadow: rgba(0,0,0,0.7) 0px -1px 0px;
}

.app-filter:hover {
	color: rgba(255,255,255,1.0);
	padding: 5px 0px 5px 8px ;
	background-position: 120px 10px;
}

.app-filter:selected {
	color: #fff;
    background-gradient-direction: horizontal;
    background-gradient-start: rgba(255,255,255,0.3);
    background-gradient-end: rgba(255,255,255,0);
    /*box-shadow: inset 0px -1px 0px 0px rgba(255,255,255,0.2);
    border: 1px 0px 1px 1px solid rgba(0,0,0,0.1);*/
	border-radius: 4px;
}
/*End right categories*/

.dash-item-container > .app-well-app {
	padding: 5px 6px;
}

.remove-favorite-icon {
	color: white;
}

.remove-favorite-icon:hover {
	color: black;
	icon-shadow: white 0px 1px 0px;
}

/* Icon selected graphics */
.app-well-app > .overview-icon,
.remove-favorite > .overview-icon,
.search-result-content > .overview-icon {
	color: rgba(255,255,255,1.0);
	font: 7pt;
	padding: 6px;
	text-align: center;
}

.app-well-app.running > .overview-icon {
    background-gradient-direction: vertical;
    background-gradient-start: rgba(255,255,255,0.5);
    background-gradient-end: rgba(255,255,255,0.04);
    box-shadow: inset 0px -1px 0px 0px rgba(255,255,255,0.2);
    border: 1px solid rgba(0,0,0,0.1);
	border-radius: 4px;
	color: rgba(255,255,255,0.9);
	-st-shadow: 0px -1px 5px 0px rgba(0,0,0,0.9);
	padding: 5px;
}

.app-well-app:selected > .overview-icon,
.search-result-content:selected > .overview-icon {
    background-gradient-direction: vertical;
    background-gradient-start: rgba(255,255,255,0.5);
    background-gradient-end: rgba(255,255,255,0.04);
	border: 1px solid rgba(0,0,0,0.3);
	color: rgba(255,255,255,0.9);
    box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.4); 
	border-radius: 4px;
}

.app-well-app:hover > .overview-icon,
.remove-favorite:hover > .overview-icon,
.search-result-content:hover > .overview-icon {
	border: 1px solid rgba(0,0,0,0.3);
    background-gradient-direction: vertical;
    background-gradient-start: rgba(255,255,255,0.5);
    background-gradient-end: rgba(255,255,255,0.04);
	border-radius: 4px;
	padding: 5px;
}

.app-well-app:active > .overview-icon {
	border: 1px solid rgba(255,255,255,0.3);
	background-color: rgba(255,255,255,0.4);
	box-shadow: inset 0px 1px 4px 1px rgba(0,0,0,0.5) ;
	border-radius: 4px;
	padding: 5px;
}

.app-well-menu {
	font-size: 8pt;
}

/* LookingGlass */
/* LG is a tool for developers */

#LookingGlassDialog
{
	background-color: rgba(0,0,0,0.85);
	spacing: 4px;
	padding: 4px;
	border: 2px solid grey;
	border-radius: 4px;
	color: #88ff66;
}

#LookingGlassDialog > #Toolbar
{
	border: 1px solid grey;
	border-radius: 4px;
}

#LookingGlassDialog .labels {
	spacing: 4px;
}

#LookingGlassDialog .notebook-tab {
	padding: 2px;
}

#LookingGlassDialog .notebook-tab:hover {
	color: #00ff00;
}

#LookingGlassDialog .notebook-tab:selected {
	border: 1px solid #88ff66;
	border-radius: 4px;
	padding: 5px;
}

#LookingGlassDialog .lg-inspector-title {
	font-weight: bold;
	padding-bottom: 8px;
}

.lg-dialog StLabel
{
	color: #88ff66;
}

.lg-dialog StEntry
{
	color: #88ff66;
}

.lg-obj-inspector-title
{
	spacing: 4px;
}

.lg-obj-inspector-button
{
	border: 1px solid #88ff66;
	padding: 4px;
	border-radius: 4px;
}

.lg-obj-inspector-button:hover
{
	border: 1px solid #00ff00;
}

.lg-dialog .shell-link
{
	color: #88ff66;
}

.lg-dialog .shell-link:hover
{
	color: #00ff00;
}

#LookingGlassDialog StBoxLayout#EvalBox
{
	padding: 4px;
	spacing: 4px;
}

#LookingGlassDialog StBoxLayout#ResultsArea
{
	spacing: 4px;
}

#lookingGlassExtensions {
	padding: 4px;
}

.lg-extension-list {
	padding: 4px;
	spacing: 6px;
}

.lg-extension {
	border: 1px solid #6f6f6f;
	border-radius: 4px;
	padding: 4px;
}

.lg-extension-name {
	font-weight: bold;
}

.lg-extension-actions {
	spacing: 6px;
}

#LookingGlassPropertyInspector {
	background: rgba(0, 0, 0, 0.9);
	border: 2px solid grey;
	border-radius: 4px;
	padding: 6px;
	color: #88ff66;
}

/* Calendar popup */

#calendarArea {
	/* this is the width of the entire popup */
}

.calendar-vertical-separator {
	-stipple-width: 1px;
    -stipple-color: rgba(0,0,0,0.6);
    width: 0.4em;
}

#calendarPopup {
	border: 1px solid rgba(255,255,255,0.5);
	border-radius: 0px 0px 4px 4px;
	color: rgba(255,255,255,0.6);
 
}

#calendarPopup .calendar {
	padding: 10px;
}

.calendar {
	padding: .2em .2em;
	spacing-rows: 2px;
	spacing-columns: 2px;
}

.calendar-month-label {
	color: rgba(255,255,255,0.6);
	font-size: 8pt;
    font-weight: bold;
}

.calendar-change-month-back {
	background-image: url("calendar-arrow-left.svg");
	height: 20px;
	width: 20px;
}

.calendar-change-month-back:hover {

}

.calendar-change-month-back:active {

}

.calendar-change-month-forward {
	background-image: url("calendar-arrow-right.svg");
	height: 20px;
	width: 20px;
}
.calendar-change-month-forward:hover {
}
.calendar-change-month-forward:active {
}

.datemenu-date-label {
	color: rgba(255,255,255,0.8);
	font-size: 8pt;
	font-weight: bold;
	padding: 0.4em 0.4em;
	text-shadow: rgba(255,255,255,0.4) 0px -1px 0px;
}

.calendar-day-base {
	border-radius: 4px;
	color: rgba(255,255,255,1);
	font-size: 8pt;
	height: 2.3em;
	width: 2.3em;
	text-align: center;
}

.calendar-day-base:hover {
	background: rgba(200,200,200,0.5);
	color: #FFF;
}

.calendar-day-base:active {
	background: rgba(200,200,200,0.3);
	color: #FFF;
}

.calendar-day-heading {
	font-weight: bold;
	color: rgba(255,255,255,0.6);
	text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
}

.calendar-week-number {
	color: rgba(255,255,255,0.8);
	font-size: 7pt;
}

.calendar-calendarweek {
	color: #FFF;
}

/* Hack used in lieu of border-collapse - see calendar.js */
.calendar-day {
	border: 1px rgba(0,0,0,0.3);
	color: rgba(255,255,255,0.6);
	font-weight: bold;
	border-radius: 4px;
	box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.3);
	text-shadow: rgba(255,255,255,0.5) 0px -1px 0px;

}
.calendar-day-top {
	border-top-width: 1px;

}
.calendar-day-left {
	border-left-width: 1px;
}

.calendar-work-day {
}

.calendar-nonwork-day {
	background-color: rgba(255,255,255,0.1);
}

.calendar-today {
	color: #ffffff;
	font-weight: bold;
	background-color: rgba(0,0,0,0.7);
	border-radius: 4px;
}

.calendar-other-month-day {
	color: rgba(255,255,255,0.5);
	font-weight: normal;
	font-size: 7pt;
}

.calendar-day-with-events {
	font-weight: bold;
}

.events-header-vbox {
	spacing: 10px;
	padding-right: 1.75em;
}

.events-header {
	height: 30px;
}

.events-header-hbox {
	spacing: 8px;
	padding: 0.3em;
}

.events-day-header {
	font-size: 8pt;
	color: rgba(0,0,0,0.7);
	font-weight: bold ;
	padding-left: 1.8em;
	padding-top: 0.8em;
	text-shadow: rgba(255,255,255,0.5) 0px -1px 0px;
}

.events-day-dayname {
	font-size: 8pt;
	color: rgba(0,0,0,0.5);
	font-weight: bold;
	text-align: left;
	text-shadow: rgba(255,255,255,0.5) 0px -1px 0px;
}

.events-day-time {
	font-size: 8pt;
	font-weight: bold;
	color: rgba(0,0,0,0.5);
	text-align: right;
}

.events-day-task {
	font-size: 8pt;
	font-weight: bold;
	color: rgba(0,0,0,0.7);
}

.events-day-name-box {
	min-width: 15px;
}

.events-time-box {
	min-width: 53px;
	padding-right: 6pt;
}

.events-event-box {
}

.url-highlighter {
	link-color: #fff;
}

/* Message Tray */

#message-tray {
	border: 1px solid rgba(0,0,0,0.3);
    background-gradient-direction: vertical;
    background-gradient-start: rgba(255,255,255,0.3);
    background-gradient-end: rgba(255,255,255,0.0);
    color: rgba(255,255,255,0.9);
    box-shadow:  inset 0px 1px 0px 0px rgba(255,255,255,0.2);
	border-bottom: 0px;
	border-left: 0px;
	border-right: 0px;
	height: 27px;
}

#notification {
	background-gradient-direction: vertical;
	background-gradient-end: rgba(255,255,255,0.7);
	background-gradient-start: rgba(255,255,255,0.95);
	border-bottom: 0px;
	border-radius: 4px 4px 0px 0px;
	border: 1px solid rgba(0,0,0,0.5);
	box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.98);
	color: rgba(0,0,0,0.8);
	font-size: 8.7pt;
	padding: 8px 40px 15px 15px;
	spacing-columns: 10px;
	spacing-rows: 10px;
	width: 350px;
}

.multi-line-notification {
	padding-bottom: 15px;
}

.summary-boxpointer {

}

.summary-boxpointer #notification {

}

.summary-boxpointer #summary-right-click-menu {
	background-gradient-direction: vertical;
	background-gradient-end: rgba(255,255,255,0.7);
	background-gradient-start: rgba(255,255,255,0.95);
	border-bottom: 0px;
	border-radius: 4px 4px 0px 0px;
	border: 1px solid rgba(0,0,0,0.5);
	box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.98);
	color: rgba(0,0,0,0.8);
	font-size: 8.7pt;
	padding: 5px 4px 2px 4px;
}

#notification-scrollview {
	max-height: 10em;
}

#notification-scrollview > .top-shadow, #notification-scrollview > .bottom-shadow {
	height: 1em;
}

#notification-scrollview > StScrollBar {
	padding-left: 6px;
}

#notification-body {
	spacing: 5px;
}

#notification-actions {
	spacing: 5px;
}

.notification-button {
	background-gradient-direction: vertical;
	background-gradient-end: rgba(255,255,255,0.95);
	background-gradient-start: rgba(255,255,255,1);
	border-radius: 4px;
	border: 1px solid rgba(0,0,0,0.2);
	box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.9);
	color: rgba(0,0,0,0.9);
	font-size: 8.5pt;
	font-weight: bold;
	padding: 2px 15px 5px;
	text-align: center;
	text-shadow: rgba(255,255,255,0.9) 0px 1px 0px;
}

.notification-button:hover {
	background-color: white;
	border: 1px solid rgba(0,0,0,0.6);
	color: rgba(0,0,0,0.8);
	
}

.notification-button:active {
	border: 1px solid rgba(0,0,0,0.5);
	box-shadow: inset 0px 1px 4px 0px rgba(0,0,0,0.5);
	text-shadow: rgba(255,255,255,0.9) 0px 1px 0px;
	color: rgba(0,0,0,0.8);
}

.notification-icon-button {
	padding: 5px;
}

.notification-icon-button:hover {
	background-color: #999;
	border-radius: 4px;
}

.notification-icon-button:active {
	background-color: #999;
	border-radius: 4px;
}

.notification-icon-button > StIcon {
	icon-size: 32px;
}

.chat-received {
	background-gradient-direction: vertical;
	background-gradient-end: rgba(255,255,255,0.95);
	background-gradient-start: rgba(255,255,255,1);
	border-radius: 0px;
	border: 1px solid rgba(0,0,0,0.2);
	box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.9);
	color: rgba(0,0,0,0.7);
	font-size: 9pt;
	font-weight: bold;
	text-shadow: rgba(255,255,255,0.9) 0px 1px 0px;
	padding: 6px 15px;
}

.chat-sent {
	background-gradient-direction: vertical;
	background-gradient-end: rgba(255,255,255,0.5);
	background-gradient-start: rgba(255,255,255,0.4);
	border-radius: 0px;
	border: 1px solid rgba(0,0,0,0.1);
	box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.4);
	color: rgba(0,0,0,0.6);
	font-size: 9pt;
	padding-left: 4px;
	padding: 4px 15px;
	text-shadow: rgba(255,255,255,0.9) 0px 1px 0px;
}

.chat-meta-message {
	padding-left: 4px;
	border-radius: 4px;
	font-size: 8pt;
	color: rgba(0,0,0,0.8);
}

#notification StEntry {
	padding: 4px;
	border-radius: 4px;
	border: 1px solid #888;
	color: #333;
	background-color: #fff;
	caret-color: #ffffff;
	caret-size: 1px;
}

#notification StEntry:focus {
	border: 1px solid #888;
	color: #333;
	background-color: #fff;
	caret-color: #545454;
	border: 1px solid rgba(0,0,0,0.7);
	-st-shadow: 0px 0px 6px 2px rgba(255,255,255,0.9);
}

/* The spacing and padding on the summary is tricky; we want to keep
 * the icons from touching each other or the edges of the screen, but
 * we also want them to be "Fitts"-y with respect to the edges, so the
 * summary area's bottom and right padding must actually be part of
 * the icons. However, we can't put *all* of the padding into the
 * icons, because then the summary would be 0x0 when there were no
 * icons in it, and so you wouldn't be able to hover over it to
 * activate it.
 *
 * Also, the spacing between a summary-source's icon and title is
 * actually specified as padding-left in source-title, because we
 * want the spacing to collapse along with the title.
 */
#summary-mode {
	padding: 3px 0px 0px 2px;
	height: 30px;
}

.summary-source { /*Controls the icons that appear at the bottom right*/
	background-color: rgba(255,255,255,0.9);
	border: 1px solid rgba(0,0,0,0.3);
	border-radius: 4px 4px 0px 0px;    
	color: rgba(0,0,0,0.9);
    box-shadow:  inset 0px -1px 0px 0px rgba(255,255,255,0.9);
    padding: 0px 8px 4px;
}

.summary-source-button {
	padding-left: 3px;
	padding-right: 3px;
}

.summary-source-button:last-child {
	padding-right: 10px;
}

.source-title {
	font-size: 8pt;
	font-weight: bold;
	padding-left: 4px;
}



/* App Switcher */
#altTabPopup {
	padding: 11px;
	spacing: 16px;
	background: rgba(0,0,0,0.3);
}

.switcher-list {
	padding: 10px 20px 10px 20px;
	background-gradient-direction: vertical;
	background-gradient-start: rgba(255,255,255,0.89);
	background-gradient-end: rgba(255,255,255,0.6);
	box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.2);
	border: 1px solid rgba(0,0,0,0.4);
	border-radius: 4px;
	color: rgba(0,0,0,0.8);
	font-weight: bold;
	font-size: 12px;
	text-shadow: rgba(255,255,255,0.3) 0px 1px 0px;
}

.switcher-list-item-container {
	spacing: 16px;
}

.thumbnail-scroll-gradient-left {
	background-gradient-direction: horizontal;
	background-gradient-start: rgba(51, 51, 51, 1.0);
	background-gradient-end: rgba(51, 51, 51, 0);
	border-radius: 4px;
	border-radius-topright: 0px;
	border-radius-bottomright: 0px;
	width: 60px;
}

.thumbnail-scroll-gradient-right {
	background-gradient-direction: horizontal;
	background-gradient-start: rgba(255,255, 51, 0);
	background-gradient-end: rgba(51, 51, 51, 1.0);
	border-radius: 4px;
	border-radius-topleft: 0px;
	border-radius-bottomleft: 0px;
	width: 60px;
}

.switcher-list .item-box {
	padding: 10px;
	border-radius: 4px;
}

.switcher-list .item-box:outlined {
	background-gradient-direction: vertical;
	background-gradient-start: rgba(255,255,255,0.3);
	background-gradient-end: rgba(255,255,255,0.5);
	border-radius: 4px;
	border: 1px solid rgba(255,255,255,0.8);
	color: rgba(255,255,255,0.7);
}

.switcher-list .item-box:selected {
	background-gradient-direction: vertical;
	background-gradient-start: rgba(255,255,255,0.3);
	background-gradient-end: rgba(255,255,255,0.5);
	border-radius: 4px;
	border: 1px solid rgba(0,0,0,0.4);
	color: rgba(0,0,0,0.8);
    box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.4); 
}

.switcher-list .thumbnail-box {
	padding: 2px;
	spacing: 4px;
}

.switcher-list .thumbnail {
	width:  250px;
}

.switcher-list .separator {
	width: 1px;
	background-color: rgba(255,255,255,0.2);
}

.ripple-box {
	width: 52px;
	height: 52px;
	background-image: url("corner-ripple.png");
}

.switcher-arrow {
	border-color: rgba(0,0,0,0);
	color: #808080;
}

.switcher-arrow:highlighted {
	border-color: rgba(0,0,0,0);
	color: white;
}

/* Workspace Switcher */
.workspace-switcher-group {
	padding: 12px;
}

.workspace-switcher-container {
	padding: 10px 20px 10px 20px;
	background-gradient-direction: vertical;
	background-gradient-start: rgba(255,255,255,0.6);
	background-gradient-end: rgba(255,255,255,0.4);
	box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.2);
	border: 1px solid rgba(0,0,0,0.4);
	border-radius: 4px;
	padding: 20px;
}

.workspace-switcher {
	padding: 10px 20px 10px 20px;
	background-gradient-direction: vertical;
	background-gradient-start: rgba(255,255,255,0.6);
	background-gradient-end: rgba(255,255,255,0.4);
	border: 1px solid rgba(0,0,0,0.4);
	border-radius: 4px;
	padding: 4px;
	spacing: 8px;
    box-shadow: inset 0px 1px 5px 0px rgba(0,0,0,0.6);
}

.ws-switcher-active-up {
	-st-shadow: 0px -1px 5px 0px rgba(0,0,0,0.9);
	background-color: rgba(255,255,255,0.7);
	background-image: url("ws-switch-arrow-up.svg") ;
	border-radius: 4px;
	border: 1px solid rgba(0,0,0,0.2);
	color: rgba(255,255,255,0.9);
	height: 100px;
    box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.4); 
}

.ws-switcher-active-down {

	-st-shadow: 0px -1px 5px 0px rgba(0,0,0,0.9);
	background-color: rgba(255,255,255,0.7);
	background-image: url("ws-switch-arrow-down.svg");
	border-radius: 4px;
	border: 1px solid rgba(0,0,0,0.2);
	color: rgba(255,255,255,0.9);
    box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.4); 
    height: 100px;
}

.ws-switcher-box {
	height: 96px;
	background: rgba(255,255,255,0.4);
    box-shadow: inset 0px 1px 6px 0px rgba(0,0,0,0.4);
    border: 1px rgba(255,255,255,0.2);
	border-radius: 4px;
}

/* Modal Dialogs */
.modal-dialog {
	border-radius: 4px;
	background-gradient-direction: vertical;
	background-gradient-start: rgba(255,255,255,0.89);
	background-gradient-end: rgba(255,255,255,0.6);
	border: 1px solid rgba(0,0,0,0.2);
	box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.8);
	color: rgba(0,0,0,0.6);
	font-size: 10pt;
	font-weight: bold;
	padding: 10px 20px 10px 20px;
}

.modal-dialog-button-box {
	spacing: 50px;
}

.modal-dialog-button {

	background-gradient-direction: vertical;
	background-gradient-start: rgba(255,255,255,0.9);
	background-gradient-end: rgba(255,255,255,0.7);
	border-radius: 4px;
	border: 1px solid rgba(0,0,0,0.3);
	box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.5);
	color: rgba(0,0,0,0.9);
	text-shadow: rgba(255,255,255,0.9) 0px 1px 0px;
	font-size: 8pt;
	padding-bottom: 10px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 10px;
}

.modal-dialog-button:hover {
	border: 1px solid rgba(0,0,0,0.5);
}

.modal-dialog-button:active,
.modal-dialog-button:pressed {
	border: 1px solid rgba(0,0,0,0.4);
	box-shadow: inset rgba(0,0,0,0.5) 0px 2px 4px 0px;
}

.modal-dialog-button:focus {
	border: 2px solid rgba(0,0,0,0.3);
	padding-bottom: 10px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 10px;
}

.modal-dialog-button:focus:hover {
	border: 2px solid rgba(0,0,0,0.9);
}


/* PolicyKit Authentication Dialog */
.polkit-dialog {
	/* this is the width of the entire modal popup */
}

.polkit-dialog-main-layout {
	spacing: 24px;
	padding: 10px;
}

.polkit-dialog-message-layout {
	spacing: 16px;
}

.polkit-dialog-headline {
	font-size: 12pt;
	font-weight: bold;
	color: rgba(0,0,0,0.8);
	text-shadow: rgba(255,255,255,0.9) 0px 1px 0px;
	padding-top: 15px;
	text-align: center;
}

.polkit-dialog-description {
	font-size: 8pt;
	color: rgba(0,0,0,0.6);
	padding-bottom: 30px;
	text-align: center;
}

.polkit-dialog-user-layout {
	padding-left: 10px;
	spacing: 10px;
}

.polkit-dialog-user-layout:rtl {
	padding-left: 0px;
	padding-right: 10px;
}

.polkit-dialog-user-root-label {
	color: rgba(255,255,255,0.98);
	background-color: red;
	border-radius: 4px;
	border: 1px solid rgba(0,0,0,0.3);
	text-align: center;
	padding-top: 4px;
	padding-bottom: 4px;
}

.polkit-dialog-password-label:ltr {
	padding-right: 0.5em;
	padding-top: 0.35em;
}

.polkit-dialog-password-label:rtl {
	padding-left: 0.5em;
}

.polkit-dialog-password-entry {
	font-size: 10pt;
    font-weight: bold; 
	color: rgba(0,0,0,0.8);
    border: 1px solid rgba(0,0,0,0.1);
    background-color: rgba(255,255,255,0.8);
    box-shadow: inset 0px 1px 0px rgba(255,255,255,0.4);
	padding: 5px;
}

.polkit-dialog-error-label {
	font-size: 9pt;
	color: red;
	padding-bottom: 15px;
	text-align: center;	
}

.polkit-dialog-info-label {
	font-size: 8pt;
	padding-bottom: 8px;
}

/* intentionally left transparent to avoid dialog changing size */
.polkit-dialog-null-label {
	font-size: 8pt;
	color: rgba(0,0,0,0);
	padding-bottom: 8px;
}

/* Run Dialog */
.run-dialog-label {
	font-size: 9pt;
	color: rgba(0,0,0,0.8);
	padding-bottom: 10px;
	text-shadow: rgba(255,255,255,0.5) 0px 1px 0px; 
}

.run-dialog-error-icon {
	width: 36px;
	height: 36px;
}

.run-dialog-error-label {
	font-size: 8pt;
	color: rgba(0,0,0,0.8);
    text-shadow: rgba(255,255,255,0.5) 0px 1px 0px; 
}

.run-dialog-entry {
	font-size: 10pt;
    font-weight: bold; 
	color: rgba(0,0,0,0.8);
    border: 1px solid rgba(0,0,0,0.1);
    background-color: rgba(255,255,255,0.8);
    box-shadow: inset 0px 1px 0px rgba(255,255,255,0.4);
	padding: 4px;
}

.run-dialog {
	padding: 15px;
	border-radius: 4px;
	background-gradient-direction: vertical;
	background-gradient-start: rgba(255,255,255,0.89);
	background-gradient-end: rgba(255,255,255,0.6);
	border: 1px solid rgba(0,0,0,0.2);
	box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.8);
}

.lightbox {
	background-color: rgba(0,0,0,0.3);
}

/* End Session Dialog */
.end-session-dialog {
    spacing: 42px;
}

.end-session-dialog-subject {
	font-size: 12pt;
	font-weight: bold;
	color: rgba(0,0,0,0.8);
	text-shadow: rgba(255,255,255,0.9) 0px 1px 0px;
	padding-top: 15px;
	text-align: center;
    padding-left: 17px;
    padding-bottom: 30px;
}

.end-session-dialog-subject:rtl {
    padding-left: 0px;
    padding-right: 17px;
}

.end-session-dialog-description {
	font-size: 8pt;
	color: rgba(0,0,0,0.6);
	padding-bottom: 30px;
	text-align: center;
    padding-left: 17px;
}

.end-session-dialog-description:rtl {
    padding-right: 17px;
}

.end-session-dialog-logout-icon {
    box-shadow: inset 0px 0px 3px 1px rgba(0,0,0,0.4);
    border-radius: 4px;
    width: 128px;
    height: 128px;
}

.end-session-dialog-shutdown-icon {
    width: 100px;
    height: 100px;
    color: red;
}

.end-session-dialog-app-list {
    font-size: 8pt;
    max-height: 200px;
    padding-top: 42px;
    padding-left: 49px;
    padding-right: 32px;
}

.end-session-dialog-app-list:rtl {
    padding-right: 49px;
    padding-left: 32px;
}

.end-session-dialog-app-list-item {
    color: #ccc;
}

.end-session-dialog-app-list-item:hover {
    color: white;
}

.end-session-dialog-app-list-item:ltr {
    padding-right: 1em;
}

.end-session-dialog-app-list-item:rtl {
    padding-left: 1em;
}

.end-session-dialog-app-list-item-icon:ltr {
    padding-right: 17px;
}

.end-session-dialog-app-list-item-icon:rtl {
    padding-left: 17px;
}

.end-session-dialog-app-list-item-name {
    font-size: 8pt;
}

.end-session-dialog-app-list-item-description {
    font-size: 8pt;
    color: #fff;
}



/* Magnifier */

.magnifier-zoom-region {
	border: 2px solid rgba(128, 0, 0, 255);
}

.magnifier-zoom-region.full-screen {
	border-width: 0px;
}
